import Instance from '@/utils/http.ts';
export function addUserRolesAPI(data:{}){
    return Instance({
        url:'/user-role/saveUserRole',
        method:'POST',
        data:data
    })
}

export function updateUserRolesAPI(data:any){
    return Instance({
        url:'/user-role/updateUserRole',
        method:'PUT',
        data:data
    })
}